package net.sf.rose.business.bean.control.menu;

import java.util.Comparator;

import net.sf.rose.business.bean.control.MenuBean;

/**
 * @author fengjian
 * @since 2014-6-19
 * 
 */
public class ComparatorMenu implements Comparator<MenuBean> {

	@Override
	public int compare(MenuBean arg0, MenuBean arg1) {
		return arg0.getSort() < arg1.getSort() ? -1 : 1;
	}

}
